package com.link.base.base.mpconfig.model;

import com.link.core.basic.model.BasicModel;

import java.util.List;

/**
 * 发送模板消息
 *
 * @author: 闫有霞
 * @date: 2019/12/19
 */

public class SendTempMessage extends BasicModel {
    /**
     * messageFormIdList  未使用的formId的list
     * */
    private  List<String> messageFormIdList;
    /**
     * acctChannel 客户来源渠道
     * MiniProgram  小程序
     * WeiXin 微信
     * */
    private  String acctChannel;

    /**渠道类型*/
    private  String acctChannelType;

    /**
     * type 那种类型的模板
     * MP  小程序
     * WeChat 微信
     * SMS   短信
     * */
    private  String type;
    /**
     * 模板记录rowID
     * */
    private  Long tempRowId;

    /**参数记录Id*/
    private Long paramId;
    /**微信或 小程序 appId*/
    private String appId;
    /**微信或 小程序的appSecret*/
    private String appSecret;

    /**模板信息接收人的openId*/
    private String openId;             
    /**要发送的模板ID*/
    private String templateId;         
    /**模板参数*/
    private List<String> params;
    /**提交或支付ID*/
    private String formId;             
    /**适用场景类型*/
    private String sceneType;          
    /**触发对象ID*/
    private Long parentId;
    /**触发对象类型目前只有order  couponrec */
    private String parentType;

    /**跳转页面 */
    private String pageUrl;

    /**
     * 场景通知Id
     */
    private Long pushSceneId;

    /** 是否小程序通知*/
    private String mpOpenFlag;
    /** 小程序模板ID*/
    private Long mpTempId;

    /** 是否微信公众号通知*/
    private String wxOpenFlag;
    /** 微信公众号模板ID*/
    private Long wxTempId;

    /**
     * 订阅消息体
     */
    private Object data;
    /**
     * 订阅消息模板title
     */
    private String mpTempTitle;

    public String getMpTempTitle() {
        return mpTempTitle;
    }

    public void setMpTempTitle(String mpTempTitle) {
        this.mpTempTitle = mpTempTitle;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getTemplateId() {
        return templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }



    public List<String> getParams() {
        return params;
    }

    public void setParams(List<String> params) {
        this.params = params;
    }

    public String getFormId() {
        return formId;
    }

    public void setFormId(String formId) {
        this.formId = formId;
    }

    public String getSceneType() {
        return sceneType;
    }

    public void setSceneType(String sceneType) {
        this.sceneType = sceneType;
    }

    public String getParentType() {
        return parentType;
    }

    public void setParentType(String parentType) {
        this.parentType = parentType;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getAcctChannel() {
        return acctChannel;
    }

    public void setAcctChannel(String acctChannel) {
        this.acctChannel = acctChannel;
    }

    public String getPageUrl() {
        return pageUrl;
    }

    public void setPageUrl(String pageUrl) {
        this.pageUrl = pageUrl;
    }

    public List<String> getMessageFormIdList() {
        return messageFormIdList;
    }

    public void setMessageFormIdList(List<String> messageFormIdList) {
        this.messageFormIdList = messageFormIdList;
    }

    public Long getTempRowId() {
        return tempRowId;
    }

    public void setTempRowId(Long tempRowId) {
        this.tempRowId = tempRowId;
    }

    public Long getParamId() {
        return paramId;
    }

    public void setParamId(Long paramId) {
        this.paramId = paramId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Long getPushSceneId() {
        return pushSceneId;
    }

    public void setPushSceneId(Long pushSceneId) {
        this.pushSceneId = pushSceneId;
    }

    public String getMpOpenFlag() {
        return mpOpenFlag;
    }

    public void setMpOpenFlag(String mpOpenFlag) {
        this.mpOpenFlag = mpOpenFlag;
    }

    public Long getMpTempId() {
        return mpTempId;
    }

    public void setMpTempId(Long mpTempId) {
        this.mpTempId = mpTempId;
    }

    public String getWxOpenFlag() {
        return wxOpenFlag;
    }

    public void setWxOpenFlag(String wxOpenFlag) {
        this.wxOpenFlag = wxOpenFlag;
    }

    public Long getWxTempId() {
        return wxTempId;
    }

    public void setWxTempId(Long wxTempId) {
        this.wxTempId = wxTempId;
    }

    public String getAcctChannelType() {
        return acctChannelType;
    }

    public void setAcctChannelType(String acctChannelType) {
        this.acctChannelType = acctChannelType;
    }
}
